﻿using PowerHub.MES.DTO.Crew.QueryDto;
using PowerHub.MES.Entities.Crew;
using PowerHub.MES.Entities.Log;
using PowerHub.MES.ReturnEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PowerHub.MES.IRepository.ILog
{

    /// <summary>
    /// 操作日志数据接口层
    /// </summary>
    public interface ILog_RequestRepository
    {
        /// <summary>
        /// 获取操作日志列表
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        //public Task<OperationPageResult<List<Log_Request>>> GetLog_RequestPageListAsync(QueryLog_RequestDTO query);

        /// <summary>
        /// 添加操作日志
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        public Task<OperationResult<bool>> CreateLog_RequestAsync(Log_Request query);

        /// <summary>
        /// 批量删除操作日志
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        public Task<OperationResult<bool>> DeletionLog_RequestAsync(List<string>? ids);

        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        public Task<OperationResult<bool>> UpdateLog_RequestAsync(Log_Request query);

    }
}
